<template>
  <div id="wang_editor" style="height: 100%; width: 100%"></div>
</template>

<script lang="tsx">
import wangEdit from 'wangeditor';
import { Component } from "vue-property-decorator";
import { Base64 } from "js-base64";
import { SAVE, INFO, NOTE } from '@/store/modules/crud/keys'
import cryptoDes from "@/utils/crypto";
import state from '@/store/modules/app/state';

@Component
export default class WEditorComponent extends cryptoDes {
  noteHeight:string = '500px';
  editor: any = null;

  get _name(){ return NOTE; }
  
  mounted(){
    
  }
  created(){
    console.log('开始创建编辑器...');
    this.editor = new wangEdit('#wang_editor');
  }
  updated () {
  }
}
</script>
<style>

</style>